Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an empty py.typed file to add mypy type hint support #61

Merged
merged 4 commits into from
Jan 4, 2024
Merged

Conversation

Jylpah
Copy link
Contributor

@Jylpah Jylpah commented Dec 31, 2023

Hello,

The code already has type hints, but the folder is missing py.typed marker as defined in PEP 561. Adding this file will make mypy happy.

Without py.typed

image

With py.typed

(no errors)

image

PS. This could the smallest PR ever ;-)

@jefersondaniel jefersondaniel merged commit 10e58de into jefersondaniel:main Jan 4, 2024
4 checks passed
@jefersondaniel
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants